package licode.unisop.types.dp;

import org.springframework.util.Assert;

public class PlatformSecret {
    private final String secret;

    public PlatformSecret(String secret) {
        Assert.notNull(secret, "平台密钥为空：" + secret);
        this.secret = secret;
    }

    public String getSecret() {
        return secret;
    }

    @Override
    public String toString() {
        return secret;
    }
}
